#!/usr/bin/env python
# _*_ coding: utf-8 _*_
# @Time : 2022/6/13 15:26
# @Author : Violet
# @File : user.py
# @desc : 用户模型


from typing import Optional, List

from pydantic import BaseModel


# ---------------------------------------------美观线-------------------------------------------------------


class CreateUser(BaseModel):
    """用户添加模型"""
    username: str
    user_type: bool
    nickname: Optional[str]
    user_phone: Optional[str]
    user_email: Optional[str]
    user_status: int
    header_img: Optional[str]
    sex: int
    password: str
